package com.zmcn.msg.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 分群信息实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_PHONE_GROUP")
public class PhoneGroup implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -932020843150728375L;

	/**
	 * 分群ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "GROUP_ID", length = 32)
	private String groupId;

	/**
	 * 用户主键
	 */
	@Column(name = "USER_ID", length = 32)
	private String userId;

	/**
	 * 群名
	 */
	@Column(name = "GROUP_NAME", length = 50)
	private String groupName;

	/**
	 * 号码总数
	 */
	@Column(name = "COUNT")
	private int count;

	/**
	 * 描述
	 */
	@Column(name = "GROUP_DESC", length = 200)
	private String groupDesc;

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getGroupDesc() {
		return groupDesc;
	}

	public void setGroupDesc(String groupDesc) {
		this.groupDesc = groupDesc;
	}

}